@model Players

@* TempDate传值 *@
@* @foreach (var item in (List<Players>)@TempDate["players"])
{
    <h2>姓名= @item.Name</h2>
    <h2>球员编号= @item.NUmber</h2>
} *@

@* ViewData传值 *@
@* @foreach (var item in (List<Players>)@ViewData["players"])
{
    <h2>姓名= @item.Name</h2>
    <h2>球员编号= @item.NUmber</h2>
} *@

@* ViewBag传值 *@
@foreach (var item in ViewBag.players)
{
    <h2>姓名= @item.Name</h2>
    <h2>球员编号= @item.NUmber</h2>
}
